From: Florian Müllner Date: Tue, 10 Sep 2024 14:53:42 +0000 (+0200) Subject: ci: Restrict use of "Fixes #123" X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~204^2^2~3 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=8bbe7514c9e795b17d53dd51ed8af44eadbde6a6;p=gnome-shell.git ci: Restrict use of "Fixes #123" Our convention is to use "Fixes" lines for references commits (like belated "fixups") and use "closes" for issues. Part-of: --- diff --git a/.gitlab-ci/commit-rules.yml b/.gitlab-ci/commit-rules.yml index 3f9bee467..913fed4d3 100644 --- a/.gitlab-ci/commit-rules.yml +++ b/.gitlab-ci/commit-rules.yml @@ -14,3 +14,5 @@ patterns: where: subject - regex: '^[Cc]lose[sd]?:?\s*#[0-9]+' message: Closes instructions must be a full link + - regex: '^[Ff]ix(e[sd]?)?:?\s*(#[0-9]+|https://)' + message: \"Fixes\" should be used with commits, use \"Closes\" for issues